<!DOCTYPE html>
<html>
	<head>
		<meta charset="utf-8">
		<title></title>
		<script>
			// var a=5;
			// var b="5";
			// alert(a===b);//false
			// var i=190.4,j=2.6;
			// var k=i%j;
			// alert(k);
			/*for in 循环*/
			var ar=["周期","章疼","路逢高","赵青"];
			var n=prompt("请给数组加一个值:","杨刚");
			ar.push(n);
			
			for(var i in ar){
				document.write(i+"="+ar[i]);
				document.write("<br/>");
			}
			document.write("<hr style='height: 40px;background-color:blue'/>");
			
			for(let j of ar)
			{
				document.write(j);
				document.write("<br/>");
			}
			
		</script>
	</head>
	<body>
	</body>
</html>
